package cn.com.softvan.easycode;

import java.io.BufferedReader;
import java.io.File;
import java.io.FileNotFoundException;
import java.io.FileReader;
import java.io.IOException;

public class LeftMenuRead {

	/**
	 * @param args
	 * @throws IOException 
	 */
	public static void main(String[] args) throws IOException {
		String driUrl="d:/jack/";
		File f=new File(driUrl);
		String flist[]=f.list();
		if(flist!=null){
			StringBuffer s=new StringBuffer();
			for(String fileName:flist){
				try {
					BufferedReader bf=new BufferedReader(new FileReader(new File(driUrl+fileName)));
					String l="";
					while((l=bf.readLine())!=null){
						s.append(l+"\n");
					}
				} catch (FileNotFoundException e) {
				}
			}
			System.out.println(s);
		}
	}

}
